﻿@model LoginViewModel
@{
    Layout = null;
}

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="renderer" content="webkit" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="format-detection" content="telephone=no" />
    <link rel="stylesheet" href="~/Plugins/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="~/Plugins/css/login.css" media="all" />
    <title>登录</title>
</head>
<body>
    <video class="video-player" preload="auto" autoplay="autoplay" loop="loop" data-height="1080" data-width="1920" height="1080" width="1920">
        <source src="~/Plugins/video/login.mp4" type="video/mp4">
    </video>
    <div class="video_mask"></div>
    <div class="login">
        <h1>实训中心管理系统后台</h1>
        <form class="layui-form">
            @Html.AntiForgeryToken()
            <div class="layui-form-item">
                <input class="layui-input" name="UserName" placeholder="请使用工号登录" lay-verify="UserName" type="text" autocomplete="off">
            </div>
            <div class="layui-form-item">
                <input class="layui-input" name="UserPass" placeholder="密码" lay-verify="UserPass" type="password" autocomplete="off">
            </div>
            <div class="layui-form-item form_code">
                <input class="layui-input" lay-verify="VerificationCode" name="VerificationCode" placeholder="验证码" maxlength="5" type="text" autocomplete="off">
                <div class="code">
                    <img src="@Url.Action("GetValidateCode", "ValidateCode", new { v = DateTime.Now.Ticks })" id="validateCode" style="cursor: pointer;" title="" alt="" width="116" height="36" />
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label" style="color:#ffffff">记住账号</label>
                <div class="layui-input-block">
                    <input lay-skin="primary" type="checkbox" name="RememberMe">
                </div>
            </div>
            <button class="layui-btn login_btn" lay-submit lay-filter="loginForm">登录</button>
        </form>
    </div>
    <script src="~/Plugins/layui/layui.js"></script>
    <script src="~/Scripts/login.js"></script>
</body>
</html>
